#pragma once
#include "Vector3.h"

class BlockSpeed
{
private:
	Vector3l _way;
	long _power;
public:
	BlockSpeed(void);
	BlockSpeed(Vector3l s, long p);
	BlockSpeed(Vector3l s);
	~BlockSpeed(void);

	void setZeroPower(){_power=0;}
	void setZeroWay(){_way=Vector3l(0,0);}
	bool isMoved();
	void downSpeed();
	Vector3l getWay(){return _way.Normalize();}
	long getSize(){return _power;}
	Vector3l getVector(){return _way*_power;}
};

